<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<table border="1">
       <tr>
           <th>员工姓名</th>
           <th>所属部门</th>
           <th>月份</th>
           <th>基本工资</th>
           <th>奖金</th>
           <th>罚金</th>
           <th>合计</th>
           <th>备注</th>
       </tr>
 <c:forEach items="${pageInfo.datas}" var="inhabitantReweard" >
       <tr>
           <td>${inhabitantReweard.e_name}</td>
           <td>${inhabitantReweard.d_name}</td>
           <td>${inhabitantReweard.month}</td>
           <td>${inhabitantReweard.basic_salary}</td>
           <td>${inhabitantReweard.reward_number}</td>
           <td>${inhabitantReweard.punish_number}</td>
           <td>${inhabitantReweard.sum}</td>
           <td></td>
           <td></td>
       </tr>
  </c:forEach>
   </table>
    <div class="bottom">
        <button onclick="submit(1)">上一页</button>
        <div class="currentpage">${pageInfo==null?pageInfo.currentPage:1}</div>
        <button onclick="submit(1)">下一页</button>
    </div>
</body>
</html>